package com.system.connect.springboot_flowers.service;

import com.system.connect.springboot_flowers.dto.AddressDTO;
import com.system.connect.springboot_flowers.entity.UserAddress;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 用户收货地址表 服务类
 * </p>
 *
 * @author yang
 * @since 2025-03-22
 */
public interface IUserAddressService extends IService<UserAddress> {
    void setDefaultAddress(Long userId, Long addressId) ;
    void deleteAddress(Long userId, Long addressId) ;
    void updateAddress(Long userId, AddressDTO addressDTO) ;
    void addAddress(Long userId, AddressDTO addressDTO) ;
    List<UserAddress> getAddressList(Long userId) ;
}
